 package com.lj.mcore.entity;

  import com.lj.mcore.domain.IdEntity;
 import jakarta.persistence.*;


 @Entity
 @Table(name="shopping_chattingfriend")
 public class ChattingFriend extends IdEntity
 {
 
   @ManyToOne(fetch=FetchType.LAZY)
   private User user;
 
   @ManyToOne(fetch=FetchType.LAZY)
   private User friendUser;
 
   public User getUser()
   {
     return this.user;
   }
 
   public void setUser(User user) {
     this.user = user;
   }
 
   public User getFriendUser() {
     return this.friendUser;
   }
 
   public void setFriendUser(User friendUser) {
     this.friendUser = friendUser;
   }
 }



 
 